import getEnumsManager from '@/common/enum';

export const EnabledStateEnum = getEnumsManager([
  { value: '1', text: '启用', default: true, name: 'Enable' },
  { value: '0', text: '禁用', name: 'Disabled' }
]);

export const PersonelSelectTypeEnum = getEnumsManager([
  { value: 'org', text: '组织搜索', default: true, name: 'Org' },
  { value: 'user', text: '人员搜索', name: 'User' }
]);

export const Whether = getEnumsManager([
  { value: '0', text: '否', name: 'No' },
  { value: '1', text: '是', name: 'Yes' }
]);

export const NationEnum = getEnumsManager([
  { value: 'Province', text: '省', name: 'Province' },
  { value: 'City', text: '市', name: 'City' },
  { value: 'District', text: '区/县', name: 'District' }
]);

export const FuJianEnum = getEnumsManager([
  { value: 'Province', text: '市', name: 'Province' },
  { value: 'City', text: '区/县', name: 'City' },
  { value: 'District', text: '乡/镇', name: 'District' }
]);
export const PassWordStrength = getEnumsManager([
  { value: 'weak', text: '弱', name: 'Weak' },
  { value: 'medium', text: '区/县', name: 'Medium' },
  { value: 'strong', text: '乡/镇', name: 'Strong' }
]);
export const PassWordProgerss = getEnumsManager([
  { value: '0', text: '弱', name: 'None' },
  { value: '100', text: '区/县', name: 'All' }
]);
